﻿@model Core.Models.Tag

@{
    ViewBag.Title = "Create Tag";
}

<h1>@ViewBag.Title</h1>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Tag Information</legend>
        @Html.HiddenFor(model => model.TagCategoryId)
        @Html.HiddenFor(model => model.BusinessUnitId)
        <!--
        <div class="editor-label">
            @Html.LabelFor(model => model.TagCategoryId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TagCategoryId)
            @Html.ValidationMessageFor(model => model.TagCategoryId)
        </div>
        -->
        <div class="editor-label">
            @Html.LabelFor(model => model.TagName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TagName)
            @Html.ValidationMessageFor(model => model.TagName)
        </div>
        <!--
        <div class="editor-label">
            @Html.LabelFor(model => model.IsDroppedYN)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IsDroppedYN)
            @Html.ValidationMessageFor(model => model.IsDroppedYN)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CreateDT)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CreateDT)
            @Html.ValidationMessageFor(model => model.CreateDT)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CreatedById)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CreatedById)
            @Html.ValidationMessageFor(model => model.CreatedById)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CreatedByName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CreatedByName)
            @Html.ValidationMessageFor(model => model.CreatedByName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ModifiedDT)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ModifiedDT)
            @Html.ValidationMessageFor(model => model.ModifiedDT)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ModifiedById)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ModifiedById)
            @Html.ValidationMessageFor(model => model.ModifiedById)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ModifiedByName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ModifiedByName)
            @Html.ValidationMessageFor(model => model.ModifiedByName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.BusinessUnitId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.BusinessUnitId)
            @Html.ValidationMessageFor(model => model.BusinessUnitId)
        </div>
        -->
        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index", new { id = Model.TagCategoryId })
</div>

